home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / text / html / HTMLDocument$HTMLReader$AnchorAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  974 b   |  28 lines

  1. package javax.swing.text.html;
  2.  
  3. import javax.swing.text.MutableAttributeSet;
  4.  
  5. class HTMLDocument$HTMLReader$AnchorAction extends HTMLDocument.HTMLReader.CharacterAction {
  6.    // $FF: synthetic field
  7.    private final HTMLDocument.HTMLReader this$1;
  8.  
  9.    HTMLDocument$HTMLReader$AnchorAction(HTMLDocument.HTMLReader var1) {
  10.       super(var1);
  11.       this.this$1 = var1;
  12.    }
  13.  
  14.    public void end(HTML.Tag var1) {
  15.       if (this.this$1.emptyAnchor) {
  16.          char[] var2 = new char[]{' '};
  17.          this.this$1.addContent(var2, 0, 1);
  18.       }
  19.  
  20.       super.end(var1);
  21.    }
  22.  
  23.    public void start(HTML.Tag var1, MutableAttributeSet var2) {
  24.       this.this$1.emptyAnchor = true;
  25.       super.start(var1, var2);
  26.    }
  27. }
  28.